-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: added a description
field to instructions
#2147
Conversation
...rver/api_container/server/startosis_engine/kurtosis_instruction/upload_files/upload_files.go
Show resolved
Hide resolved
🤖 I have created a release *beep* *boop* --- ## [0.86.24](0.86.23...0.86.24) (2024-02-15) ### Features * added a `description` field to instructions ([#2147](#2147)) ([9085cfd](9085cfd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: kurtosisbot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some suggestions!
...rver/api_container/server/startosis_engine/kurtosis_instruction/upload_files/upload_files.go
Show resolved
Hide resolved
@@ -155,6 +155,10 @@ func (builtin *VerifyCapabilities) FillPersistableAttributes(builder *enclave_pl | |||
builder.SetType(VerifyBuiltinName) | |||
} | |||
|
|||
func (builtin *VerifyCapabilities) Description() string { | |||
return fmt.Sprintf("Verifying whether two values meet a certain condition '%v'", builtin.assertion) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to add a bit more info on what those values are?
@@ -288,3 +288,7 @@ func (builtin *WaitCapabilities) TryResolveWith(instructionsAreEqual bool, _ *en | |||
func (builtin *WaitCapabilities) FillPersistableAttributes(builder *enclave_plan_persistence.EnclavePlanInstructionBuilder) { | |||
builder.SetType(WaitBuiltinName) | |||
} | |||
|
|||
func (builtin *WaitCapabilities) Description() string { | |||
return fmt.Sprintf("Waiting for at most '%v' for service '%v' to reach a certain state", builtin.timeout, builtin.serviceName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here; can we give a bit more info on what the certain state is?
core/server/api_container/server/startosis_engine/kurtosis_instruction/tasks/run_sh.go
Show resolved
Hide resolved
core/server/api_container/server/startosis_engine/kurtosis_instruction/tasks/run_python.go
Show resolved
Hide resolved
...iner/server/startosis_engine/kurtosis_instruction/store_service_files/store_service_files.go
Show resolved
Hide resolved
Kevin had given some feedback on #2147 ; this PR works on those
## Description: This PR uses the new `description` field in the enclave logs viewer. By default this field is now used to render starlark instructions, rather than the raw field (from #2147 ). ### Demo https://github.com/kurtosis-tech/kurtosis/assets/4419574/a1aa4754-f68b-4ea5-8af8-068531db4dab ## Is this change user facing? Yes ## References (if applicable): * briefed on slack.
Description
The description field can be used instead of the full instruction while outputting to the end user
In the CLI this can be accessed using
--description
;